<?php

namespace application\controller\cp;

use application\controller\cp\BaseController;

class IndexController extends BaseController {

    public function __construct() {
        parent::__construct();
        $this->view->layout = '/layout/main';
    }

    /**
     * @module
     * @comment(Danh sách test)
     * @mapping(value=cp/index.html)
     */
    public function grid() {

        $city = new \application\service\CityService();
        $city->add();

        $this->view->render('/index/home');
    }

}
